Array.prototype.sumObj=function(k){
    var sum=0;
    for(var i in this){
        if(isNaN(this[i][k]))
        continue;
        else
        sum+=this[i][k];
    }
    return sum;
}